package com.hbnu.jiani.entity;

public class Package {
    private int id;
    private String recipient;
    private String pickupCode;
    private String status;

    public Package() {
    }

    public Package(int id,String recipient, String pickupCode, String status) {
        this.id = id;
        this.recipient = recipient;
        this.pickupCode = pickupCode;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public String getPickupCode() {
        return pickupCode;
    }

    public void setPickupCode(String pickupCode) {
        this.pickupCode = pickupCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Package{" +
                "id=" + id +
                ", recipient='" + recipient + '\'' +
                ", pickupCode='" + pickupCode + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
